import MoocHotlistsTeacher from '../hotlistsTeacher/HotlistsTeacher.vue'
import MoocHotlistsTeacherAdd from '../hotlistsTeacher/HotlistsTeacherAdd.vue'
import MoocHotlistsTeacherEdit from '../hotlistsTeacher/HotlistsTeacherEdit.vue'
import MoocHotlistsTeacherSearch from '../hotlistsTeacher/HotlistsTeacherSearch.vue'
import MoocHotlistsTeacherView from '../hotlistsTeacher/HotlistsTeacherView.vue'

const components = [
  MoocHotlistsTeacher,
  MoocHotlistsTeacherAdd,
  MoocHotlistsTeacherEdit,
  MoocHotlistsTeacherSearch,
  MoocHotlistsTeacherView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
